package com.cloudwise.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloudwise.entity.LayUiTree;
import com.cloudwise.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 菜单权限表(Menu)表数据库访问层
 *
 * @author
 * @since 2021-12-06 15:30:40
 */
@Repository
public interface MenuDao extends BaseMapper<Menu> {
    List<Menu> queryAllMenusByUserId(Integer userId);
}

